﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_GSSW_GSZCSource : DataSourceBase<SHZY_GSSW_GSZC>
    {
        protected override void OnInserting(SHZY_GSSW_GSZC model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_GSSW_GSZC : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        [Source("区县", Show = true, ShowIndex = 0, Condition = true)]
        public string SZQX { get; set; }


        [Source("注册号", Show = true, ShowIndex = 1, Condition = true)]
        public string ZCH { get; set; }


        [Source("名称", Show = true, ShowIndex = 2, Condition = true)]
        public string ZHMC { get; set; }


        [Source("场所", Show = true, ShowIndex = 3, Condition = true)]
        public string JYZMC { get; set; }


        public string ZJHM { get; set; }


        public string JYCS { get; set; }


        public string JYFW { get; set; }


        [Source("电话", Show = true, ShowIndex = 4, Condition = true)]
        public string PHONE { get; set; }


        public string PHONE_2 { get; set; }


        public string BZ { get; set; }


        public string QT { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }


        public string UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Business_Regist;
    }
}
